﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EraNet.Core.Model.Messages
{
    public class Notices:BaseEntity
    {
        /// <summary>
        /// 标题
        /// </summary>
        public virtual string Title { get; set; }
        /// <summary>
        /// 短标题 
        /// </summary>
        public virtual string ShortTitle { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public virtual string ContentStr { get; set; }
        /// <summary>
        /// 类型，1.默认类型
        /// 10.系统公告
        /// </summary>
        public virtual int NType1 { get; set; }
        public virtual int NType2 { get; set; }
        /// <summary>
        /// 接收人ID，空时发送给所有
        /// </summary>
        public virtual string AcceptId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public virtual int CreaterId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateDate { get; set; }
        /// <summary>
        /// 公告开始时间
        /// </summary>
        public virtual DateTime? StartDate { get; set; }
        /// <summary>
        /// 公告结束时间
        /// </summary>
        public virtual DateTime? EndDate { get; set; }
        /// <summary>
        /// 如果不是驾校发布的公告，ID为O
        /// </summary>
        public virtual int SchoolId { get; set; }
        /// <summary>
        /// 发送机构，默认0
        /// </summary>
        public virtual int SendClient { get; set; }
    }
}
